﻿using System.ServiceModel;
using System.ServiceModel.Channels;
using System;
using Kavaa.Framework.Interface;

namespace Kavaa.Framework.Proxy
{
    /// <summary>
    /// Proxy de gestion de l'entité métier StrAssIsTSync
    /// </summary>
    public class Continent : ClientBase<IContinent>, IContinent
    {
        /// <summary>
        /// Constructeur
        /// </summary>
        public Continent() { }

        /// <summary>
        /// Constructeur
        /// </summary>
        public Continent(string endpointConfigurationName) :
            base(endpointConfigurationName) { }

        /// <summary>
        /// Constructeur
        /// </summary>
        public Continent(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress) { }

        /// <summary>
        /// Constructeur
        /// </summary>
        public Continent(string endpointConfigurationName, EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress) { }

        /// <summary>
        /// Constructeur
        /// </summary>
        public Continent(Binding binding, EndpointAddress remoteAddress) :
            base(binding, remoteAddress) { }

        public Kavaa.Framework.Entity.Continents GetContinents()
        {
            return base.Channel.GetContinents();
        }
        
    }
}
